
export default {
    namespaced: true,
    state: {
        opening_pages: [],
    },
    getters: {
        getOpeningPages: (state) => {
            return state.opening_pages
        }
    },
    actions: {
        updateOpeningPages ({commit}, pageList){
            commit('UPDATE_OPENING_PAGES', pageList)
        }
    },
    mutations: {
        UPDATE_OPENING_PAGES(state, pageList) {
            state.opening_pages = pageList
        }
    }
}